# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=jynx2
pkgver=2.0
pkgrel=5
groups=('blackarch' 'blackarch-backdoor')
pkgdesc='An expansion of the original Jynx LD_PRELOAD rootkit.'
arch=('any')
url="http://www.blackhatlibrary.net/Jynx2"
license=('custom:unknown')
install=jynx2.install
source=("http://blackhatlibrary.net/releases/$pkgname.tgz")
sha512sums=('80c97c1f195ca5e8131866861e87c6233b88cc5f862fef211e665fa5549eb61b6257da5dd8b4512efeae72948670c8c2188e877b18efe31c8780ad840be77e00')

package() {
  cd $pkgname

  #make DESTDIR="$pkgdir/" install

  install -dm 755 "$pkgdir/usr/share/$pkgname"

  cp -a --no-preserve=ownership * "$pkgdir/usr/share/$pkgname"
}

